For example, if HeapDumps are generated at the start of the workload, caches that are filling up will often be identified as a memory leak.
例如,如果在工作负载的开始生成HeapDump,则正在填充的缓存常常被标识为内存泄漏。
For example, you'd start the application, run through a scenario, take a heap dump, and then do the assertions. Here's an example: a memory leak was discovered in the mail application.
比如说,您可以启动应用程序,运行一个场景,得到一个对转储,接着做断言。
And to start off on your crusade for memory-leak finding, you'll create a test MySQL database, shown in Listing 4.
并且为了开始进行内存泄露查找的征战,您将创建一个测试MySQL数据库,如清单4所示。
应用推荐